package com.internetplus.webcore.mapper;
import com.internetplus.webcore.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {

    List<Product> getAllProduct();
    int addProduct(Product product);
    int updataProduct(Product product);
    int deleteProduct(List list);
    List<Product> findTargetProduct(int productid);
    List<Product> findTargetProductUserid(int userid);


}




